                                                                                                                                     
 
    
;    	bsf    IPR2,BCLIP                       ;High Priority for BusCollision Int.



;	call	M1 
;        btfsc   vI2CMIntStatus,I2CMBusy         
;        goto    $-2  
;	goto 	M2
;	goto 	EEPROM
;	goto	EEPROM_olv
;-----------------------------------------------
M1:                                     
        call    I2CMIntStart                    ;Send Start                                            
;-----------------------------------------------
        movlw   090h                            ;SlaveAddress(with write bit)
        call    I2CMIntPut                                                                   
;-----------------------------------------------
        movlw   0EEh                            
        call    I2CMIntPut                                                                     
;-----------------------------------------------                                                
	call    I2CMIntStop                     ;Send Stop    
;-----------------------------------------------   
	nop
	nop  
	return  
;====================================================================
M2:
       call    I2CMIntStart                    ;Send Start                                                
;-----------------------------------------------
        movlw   090h                            ;SlaveAddress(with write bit)
        call    I2CMIntPut                                                                      
;-----------------------------------------------
        movlw   0AAh                            ;read temp
        call    I2CMIntPut                                                                      
;-----------------------------------------------                     
 
        call    I2CMIntReStart                  ;Send ReStart                                                
;-----------------------------------------------       
        movlw   091h                            ;Send SlaveAddress(with read bit)
        call    I2CMIntPut                                                                      
;-----------------------------------------------
        movlw   .1                           	;Set the number bytes to be received to 16
        call    I2CMIntSetGetCount                                                              
;-----------------------------------------------
        call    I2CMIntStop                     ;Send Stop                                             
;-----------------------------------------------       
	return  	   
